import Ajax from './request'
// 获取轮播图
export const getSwiperList = (callback)=>{ return Ajax('product/getBanners',{},callback) }
// 获取商品导航栏
export const getShopNav = (callback)=>{ return Ajax('category/all',{},callback)}
// 获取商品信息
export const getShops = (data,callback) =>{ return Ajax('product/list',data,callback)}
// 商品详细信息
export const getShopDetail = (data,callback) =>{ return Ajax('product/detail',data,callback)}